package com.hznu.stmanage.entity;

import com.hznu.stmanage.beans.EntitySupport;

import java.util.Date;

/**
 * 学生
 */
public class Student extends EntitySupport {
    private Long id;//学生id

    private String studentid;//学号

    private String password;//登录密码

    private String salt;//盐值

    private String name;//姓名

    private Integer gender;//性别

    private Integer age;//年龄

    private String college;//学院

    private String major;//专业

    private String classInfo;//班级

    private String leadteacherid;//带队老师工号

    private String enrolldate;//入学年份

    private String socialsecid;//身份证

    private String mobilephone;//手机

    private String email;//邮箱

    private String householdaddr;//家庭住址

    private Long currentpractice;//党建实习信息id

    private Integer complete;//信息完整度

    private Date lasttime;//最近一次登录时间

    private Integer type;//表明是学生

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStudentid() {
        return studentid;
    }

    public void setStudentid(String studentid) {
        this.studentid = studentid == null ? null : studentid.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college == null ? null : college.trim();
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major == null ? null : major.trim();
    }

    public String getClassInfo() {
        return classInfo;
    }

    public void setClassInfo(String classInfo) {
        this.classInfo = classInfo == null ? null : classInfo.trim();
    }

    public String getLeadteacherid() {
        return leadteacherid;
    }

    public void setLeadteacherid(String leadteacherid) {
        this.leadteacherid = leadteacherid == null ? null : leadteacherid.trim();
    }

    public String getEnrolldate() {
        return enrolldate;
    }

    public void setEnrolldate(String enrolldate) {
        this.enrolldate = enrolldate == null ? null : enrolldate.trim();
    }

    public String getSocialsecid() {
        return socialsecid;
    }

    public void setSocialsecid(String socialsecid) {
        this.socialsecid = socialsecid == null ? null : socialsecid.trim();
    }

    public String getMobilephone() {
        return mobilephone;
    }

    public void setMobilephone(String mobilephone) {
        this.mobilephone = mobilephone == null ? null : mobilephone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getHouseholdaddr() {
        return householdaddr;
    }

    public void setHouseholdaddr(String householdaddr) {
        this.householdaddr = householdaddr == null ? null : householdaddr.trim();
    }

    public Long getCurrentpractice() {
        return currentpractice;
    }

    public void setCurrentpractice(Long currentpractice) {
        this.currentpractice = currentpractice;
    }

    public Integer getComplete() {
        return complete;
    }

    public void setComplete(Integer complete) {
        this.complete = complete;
    }

    public Date getLasttime() {
        return lasttime;
    }

    public void setLasttime(Date lasttime) {
        this.lasttime = lasttime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}